InfoStores
Collection Object
The
InfoStores collection object contains one or more InfoStore objects.
Quick Info
Specified
in header file: |
MDISP.ODL |
First
available in version: |
OLE
Messaging Library 1.0 |
Parent
objects: |
Session object |
Child
objects: |
InfoStore |
Default
property: |
Item |
An InfoStores
collection is considered a small collection, which means that it
supports count and index values that let you access an individual InfoStore
object through the Item property. The InfoStores collection supports the
Visual Basic For Each statement.
Properties
|
Available
in version |
|
|
Application |
1.0 |
String |
Read-only |
Class |
1.0 |
Long |
Read-only |
Count |
1.0 |
Long |
Read-only |
Item |
1.0 |
InfoStore
object |
Read-only |
Parent |
1.0 |
Session
object |
Read-only |
Session |
1.0 |
Session
object |
Read-only |
Methods
(None.)
Remarks
An InfoStores
collection provides access to all InfoStore objects available to this session.
Each InfoStore object in turn offers access to the root of the folder hierarchy
in that message store. This is used primarily to obtain access to the public
folders.
The OLE Messaging
Library does not support methods to add or remove InfoStore objects from the
collection.
In general,
you cannot assume that the InfoStore object s Name properties are
unique. This means that you cannot rely on the name to retrieve the InfoStore
from the collection. However, you can iterate through all objects in the
collection using the InfoStores collection object s Item property, and
then examine properties of the individual InfoStore objects. You can also rely
on the InfoStore object s ID property, which is guaranteed to be unique.